import numpy as np

a = np.array([[[1,2,3],[4,5,6]],[[7,8,9],[11,22,33]]])

print(a)
print(a.shape)

b = np.reshape(a, (-1,3))
print(b)
print(b.shape)